﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Schedule.RobotInfo
{
    /// <summary>
    /// 机器人信息
    /// </summary>
    public class RobotInfoDto
    {
        /// <summary>
        /// 机器人Id，编号
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 机器人编号
        /// </summary>
        public string RobotNumber { set; get; }
        public string CreateTime { set; get; }
        /// <summary>
        /// 测量员，责任人
        /// </summary>
        public string Owner { set; get; }
        public string Phone { set; get; }
        /// <summary>
        /// 机器人状态：0:闲置、1:忙碌
        /// </summary>
        public int Status { set; get; }
        public double Longitude { set; get; }
        public double Latitude { set; get; }
    }
    /// <summary>
    /// 机器人位置信息
    /// </summary>
    public class RobotLocaltionDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 机器人状态：0:闲置、1:忙碌
        /// </summary>
        public int Status { set; get; }
        public double Longitude { set; get; }
        public double Latitude { set; get; }
    }

    public class RobotInfoListDto
    {
        public int Total { get; set; }
        public List<RobotInfoDto> List { get; set; }
    }
    public class RobotScheduleDto
    {
        public bool IsMatch { set; get; }
        public List<RobotMatchDto> MatchingRobotList { get; set; }
    }

    /// <summary>
    /// 机器人匹配信息
    /// </summary>
    public class RobotMatchDto
    {
        public Guid Id { set; get; }
        public string RobotName { set; get; }
        /// <summary>
        /// 距离 km
        /// </summary>
        public string Distance { set; get; }
        /// <summary>
        /// 机器人状态：0:闲置、1:忙碌
        /// </summary>
        public int Status { set; get; }
        public double Longitude { set; get; }
        public double Latitude { set; get; }
    }
}
